package com.example.fridaykt.service

import com.example.fridaykt.model.SysMenu
import com.example.fridaykt.vo.Page

/**
 * @author 27371
 * @description 针对表【sys_menu(菜单权限表)】的数据库操作Service
 * @createDate 2022-05-09 17:21:37
 */
interface SysMenuService {
    fun listWithTree(): List<SysMenu>

    fun listWithTreeWithRole(userId: Long): List<SysMenu>

    fun getMenuList(current: Int, pageSize: Int): Page<SysMenu>
    fun getMenuIdListByUserIdWithRole(userId: Long): List<Long>
}
